home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_069 / sb / sb.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  551b  |  25 lines

  1. /* Lattice C Ver 3.1 */
  2.  
  3. #include <intuition/intuition.h>
  4. #include <intuition/intuitionbase.h>
  5. #include <stdlib.h>
  6. #include <stdio.h>
  7.  
  8. #define SZ(x)        sizeof(struct x)
  9. #define DATASIZE    ( sizeof(structdata) / sizeof(struct StructData) )
  10. #define PTRSIZE        sizeof(APTR)
  11.  
  12. /* for Aztec C make the following 'sizeof(int)' */
  13. #define INTSIZE        sizeof(short)
  14.  
  15. #define BYTESIZE    sizeof(char)
  16. #define MAXGADG        16
  17. #define MOREGADG    25 /* id of "more" gadget */
  18.  
  19. struct StructData {
  20.             char *membername;
  21.             char *membertype;
  22.             int  printtype;
  23.             int datasize;
  24.           };
  25.